package com.citycloud.ccuap.tc.yq.view;

import java.io.Serializable;
/**
 * 
 * @author liujianwei
 *
 */
public class FieldWhere implements Serializable{
	/**
     * 意义，目的和功能，以及被用到的地方<br>
     */
    private static final long serialVersionUID = 1L;

    /** 字段名称 */
    private String fieldName;

    /** 运算符 */
    private Operator fieldOp;

    /** 条件 */
    private String fieldCon;

    /** 数据组id */
    private String dataGroupId;
    
    private String type;
    
    private String busiObjId;
    
    public FieldWhere()
    {}

    public FieldWhere(String fieldName, Operator fieldOp, String fieldCon)
    {
        this.fieldName = fieldName;
        this.fieldOp = fieldOp;
        this.fieldCon = fieldCon;
    }

    public FieldWhere(String fieldName, Operator fieldOp, String fieldCon, String dataGroupId)
    {
        super();
        this.fieldName = fieldName;
        this.fieldOp = fieldOp;
        this.fieldCon = fieldCon;
        this.dataGroupId = dataGroupId;
    }

    public String getDataGroupId()
    {
        return dataGroupId;
    }

    public void setDataGroupId(String dataGroupId)
    {
        this.dataGroupId = dataGroupId;
    }

    public String getFieldName()
    {
        return fieldName;
    }

    public void setFieldName(String fieldName)
    {
        this.fieldName = fieldName;
    }

    public Operator getFieldOp()
    {
        return fieldOp;
    }

    public void setFieldOp(Operator fieldOp)
    {
        this.fieldOp = fieldOp;
    }

    public String getFieldCon()
    {
        return fieldCon;
    }

    public void setFieldCon(String fieldCon)
    {
        this.fieldCon = fieldCon;
    }

    public static long getSerialversionuid()
    {
        return serialVersionUID;
    }
    
    public String getType() {
        return type;
    }
    
    public void setType(String type) {
        this.type = type;
    }
    
    public String getBusiObjId() {
        return busiObjId;
    }
    
    public void setBusiObjId(String busiObjId) {
        this.busiObjId = busiObjId;
    }
    
    @Override
    public String toString()
    {
        return "FieldWhere [fieldName=" + fieldName + ", fieldOp=" + fieldOp + ", fieldCon=" + fieldCon
               + ", dataGroupId=" + dataGroupId + "]";
    }

}
